package com.hulu.yec.sys.role.entity;

import java.util.Date;

/**
 * 角色实体
 * 
 * @author zm
 *
 */
public class RoleEntity {

	private int id;
	private String name;
	private String menu_ids;
	private int operate_user_id;
	private String operate_time;
	private int state; // 1 为启用，2 为禁用
	private String memo;
	// 附加属性
	private int userId;
	private String userName;
	
	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMenu_ids() {
		return menu_ids;
	}

	public void setMenu_ids(String menu_ids) {
		this.menu_ids = menu_ids;
	}

	public int getOperate_user_id() {
		return operate_user_id;
	}

	public void setOperate_user_id(int operate_user_id) {
		this.operate_user_id = operate_user_id;
	}

	public String getOperate_time() {
		return operate_time;
	}

	public void setOperate_time(String operate_time) {
		this.operate_time = operate_time;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "RoleEntity [id=" + id + ", name=" + name + ", menu_ids="
				+ menu_ids + ", operate_user_id=" + operate_user_id
				+ ", operate_time=" + operate_time + ", state=" + state
				+ ", memo=" + memo + ", userId=" + userId + ", userName="
				+ userName + ", getUserId()=" + getUserId() + ", getId()="
				+ getId() + ", getName()=" + getName() + ", getMenu_ids()="
				+ getMenu_ids() + ", getOperate_user_id()="
				+ getOperate_user_id() + ", getOperate_time()="
				+ getOperate_time() + ", getState()=" + getState()
				+ ", getMemo()=" + getMemo() + ", getUserName()="
				+ getUserName() + ", getClass()=" + getClass()
				+ ", hashCode()=" + hashCode() + ", toString()="
				+ super.toString() + "]";
	}

}
